package org.dce.screencapturer.actions.ui;

import java.awt.event.ActionEvent;

import org.dce.screencapturer.actions.ScreenCapturerAction;
import org.dce.screencapturer.util.IconFactory;

@SuppressWarnings("serial")
public class ExitAction extends ScreenCapturerAction {

	public ExitAction() {
		super("categories.file", "actions.exit", IconFactory.getIcon("/images/exit.png"));
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		getUI().exit();
	}

}
